package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * IP商城活动规格表(sc_mall_activity_specs)实体类
 *
 * @author zxy
 * @description IP商城
 * @since 2023-05-10 16:59:01
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_mall_activity_specs")
public class MallActivitySpecs extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 活动id
     */
    private Long activityId;
    /**
     * 商品Id
     */
    private Long productId;
    /**
     * 规格Id
     */
    private Long specsId;
    /**
     * 活动总库存
     */
    private Integer sumStockCount;
    /**
     * 可用库存
     */
    private Integer usableStockCount;
    /**
     * 冻结库存
     */
    private Integer freezeStockCount;
    /**
     * 销售数量
     */
    private Integer salesCount;
    /**
     * 售价
     */
    private BigDecimal salesPrice;
    /**
     * 成本价
     */
    private BigDecimal costPrice;

    /**
     * 活动成本价
     */
    private BigDecimal activityCostPrice;

    /**
     * 托底价
     */
    private BigDecimal reservePrice;

    /**
     * 利润
     */
    private BigDecimal profit;

    /**
     * 分润模版ID
     */
    private Long profitTemplateId;

    /**
     * 道具id
     */
    private Long propsId;

    /**
     * 奖励数量
     */
    private Integer propsRewardNum;
}